﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="viewActieDelete.aspx.cs" Inherits="Pc_Vision.View_Datalayer.viewActieDelete" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
      <!-- #include file="load.aspx" -->
</head>
<body>
    <!-- #include file="header.aspx" -->

    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">

            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
                </asp:ScriptReference>
            </Scripts>
        </telerik:RadScriptManager>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server"></telerik:RadWindowManager>
        <telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" DataSourceID="SqlDataSource1" GridLines="None" OnDeleteCommand="RadGrid1_DeleteCommand" AllowSorting="True" Height="521px" style="margin-left: 510px" Width="940px">
            <ExportSettings>
                <Pdf PageWidth="">
                </Pdf>
            </ExportSettings>
            <ClientSettings>
                <Selecting AllowRowSelect="True" />
                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
            </ClientSettings>
            <MasterTableView AutoGenerateColumns="False" DataKeyNames="Actieid" DataSourceID="SqlDataSource1">
                <Columns>
                    <telerik:GridBoundColumn DataField="Actienaam" FilterControlAltText="Filter Actienaam column" HeaderText="Actienaam" SortExpression="Actienaam" UniqueName="Actienaam">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Starttijd" DataType="System.DateTime" FilterControlAltText="Filter Starttijd column" HeaderText="Starttijd" SortExpression="Starttijd" UniqueName="Starttijd">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Eindtijd" DataType="System.DateTime" FilterControlAltText="Filter Eindtijd column" HeaderText="Eindtijd" SortExpression="Eindtijd" UniqueName="Eindtijd">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Artikelnummer" FilterControlAltText="Filter Artikelnummer column" HeaderText="Artikelnummer" SortExpression="Artikelnummer" UniqueName="Artikelnummer">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Percentagekorting" DataType="System.Int32" FilterControlAltText="Filter Percentagekorting column" HeaderText="Percentagekorting" SortExpression="Percentagekorting" UniqueName="Percentagekorting">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Adminid" DataType="System.Int32" FilterControlAltText="Filter Adminid column" HeaderText="Adminid" SortExpression="Adminid" UniqueName="Adminid">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridButtonColumn ConfirmText="Are you sure you want to delete the selected row?"
        HeaderStyle-Width="35px" ButtonType="ImageButton" CommandName="Delete" ><HeaderStyle Width="35px"></HeaderStyle>
                    </telerik:GridButtonColumn>

                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
       
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:pcvisionConnectionString %>" ProviderName="<%$ ConnectionStrings:pcvisionConnectionString.ProviderName %>" SelectCommand="SELECT * FROM pcVision.actie"></asp:SqlDataSource>
       
    <div>
    
    </div>
    </form>
</body>
</html>
